home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
asm
/
games
/
spritegrabber
/
grabber
/
status.s
< prev
next >
Wrap
Text File
|
1980-01-03
|
1KB
|
65 lines
do_blank_status
move.l #0,tcol
lea blank_status,a0
bsr print
rts
;---------------------------------------------
do_status movem.l d0-d7/a0-a6,-(sp)
move.l #0,tcol
lea blank_status,a0
bsr print
move.w status_mode,d0
lea status_txts_table(pc),a0
move.l (a0,d0.w*4),a0
bsr print
cmp.w #14,status_mode
bne.s .out
move.l #2,d1
move.l #40,d0
move.l #8,d3
move.l sprite_memsize,d2
bsr dec_print
.out movem.l (sp)+,d0-d7/a0-a6
rts
;---------------------------------------------
print_keycode
move.l #1,tcol
lea keycodetxt,a0
move.b keycode,2(a0)
bsr print
rts
keycodetxt dc.b 78,2,' ',0
even
;---------------------------------------------
status_txts_table
dc.l okay_status ;0
dc.l nofilesel_status ;1
dc.l noiffform_status ;2
dc.l noifffile_status ;3
dc.l noiffbmhd_status ;4
dc.l noiffcmap_status ;5
dc.l noiffmem_status ;6
dc.l noiffBODY_status ;7
dc.l nodetect_status ;8
dc.l nomask_status ;9
dc.l nosprite_status ;10
dc.l nomemspr_status ;11
dc.l nopalette_status ;12
dc.l nomempal_status ;13
dc.l pralloc_status ;14
dc.l dealloc_status ;15
dc.l deallerr_status ;16
dc.l nospr_status ;17
dc.l edit_status ;18
dc.l planes_status ;19
dc.l nogen_status ;20
dc.l nospal_status ;21
dc.l chkcols_status ;22
dc.l firstpal_status ;23
dc.l lastpal_status ;24
dc.l remap_status ;25
dc.l -1
;---------------------------------------------